<?php
/**
 * 这个文件将会被删除, 仅做测试
 * // added by yinchao, Tue December 05 10:59	2023
 */

/**
 * 测试商城处理回调的方法是否正确, 这个文件不复杂, 就是一个简单的展示页面, 展示一下信息即可
 */

/**
    ok: 1,
    "charset": "UTF-8",
    "out_trade_no": "2023120410024759780",
    "method": "alipay.trade.page.pay.return",
    "total_amount": "0.01",
    "sign": "RTgGohOxUoHFF/kI59odVJo3VllHnY+yaUvCrAod4ku/j9CjIsWGOmt/eii1cBWl9k4/9ykY+idd4icaV02Ip8Px+G+a6cByoUxdOmPQQ7s+VjkKsmZlw855x6+PPg/JZqt9TmQG1iRzPil2e0xl5lsPos9iCmjekarUIMAkD+o8DprNxKU46FfSEjgeX3qiJjrqWd1mQ3B/AXxmEfO6Q3SQMn/m6qh27TU6Wc0rynhJJg5rIz2CFJJRbjlU3ubFHE/BCgl7tnftpHambK0DRoPkj+Tdr3quvTHRZDseQZv2jgFYTpUxihOQqdGoEJ5m35IxCWUNFIOYXfl3zI5dYQ==",
    "trade_no": "2023120422001454931406039190",
    "auth_app_id": "2021004124638114",
    "version": "1.0",
    "app_id": "2021004124638114",
    "sign_type": "RSA2",
    "seller_id": "2088441949054666",
    "timestamp": "2023-12-04 10:03:16"
 */

require './includes/common.php';

$out_get_str = json_encode($_GET);
$out_post_str = json_encode($_POST);
echo "<script>console.log('getstr->', $out_get_str)</script>";
echo "<script>console.log('poststr->', $out_post_str)</script>";

sysmsg('这里是一个 return_url page, 从支付宝返回的信息请查看控制台输出');

?>